#include <WinTen.h>
#include <Windows.h>
#include <extend.h>

//----------------------------------------------------------------------------//

CLIPPER SETTEXTCOL()
{
   _retnl( SetTextColor( ( HDC ) _parnl( 1 ), _parnl( 2 ) ) );
}

//----------------------------------------------------------------------------//

CLIPPER SETBKCOLOR()
{
   _retnl( SetBkColor( ( HDC ) _parnl( 1 ), _parnl( 2 ) ) );
}

//----------------------------------------------------------------------------//

CLIPPER SETBKMODE()
{
   _retni( SetBkMode( ( HDC ) _parnl( 1 ), _parni( 2 ) ) );
}

//----------------------------------------------------------------------------//

CLIPPER GETTEXTCOL()  // OR()   hDC
{
   _retnl( GetTextColor( ( HDC ) _parnl( 1 ) ) );
}

//----------------------------------------------------------------------------//

CLIPPER GETBKCOLOR()  //  hDC
{
   _retnl( GetBkColor( ( HDC ) _parnl( 1 ) ) );
}

//----------------------------------------------------------------------------//

CLIPPER GETSYSCOLO()  // R()    nColorType
{
   _retnl( GetSysColor( _parni( 1 ) ) );
}

//----------------------------------------------------------------------------//

CLIPPER nRGB() // ( nRed, nGreen, nBlue ) --> nRGB
{
   _retnl( RGB( _parni( 1 ), _parni( 2 ), _parni( 3 ) ) );
}

//----------------------------------------------------------------------------//
